package com.isoftstone.util;

import java.util.List;

/**
 * Created by 文俊 on 2017/12/11.
 */
public class TreeNode {
    private String id;
    private String label;
    private List<TreeNode> children;
    private boolean leaf;
    private String level;
    private String supbak;

    public String getSupbak() {
        return supbak;
    }

    public void setSupbak(String supbak) {
        this.supbak = supbak;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<TreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }


    public boolean isLeaf() {
        return leaf;
    }

    public void setLeaf(boolean leaf) {
        this.leaf = leaf;
    }
}
